<!--
* description: 文本组件
* author: wangml
* createdDate: 2021
-->
<template>
  <!-- 行数据【属性】  -->
  <span v-if="curIsShow">{{ curTableRow[codeField] }}</span>
</template>
<script>
import { labelMixins } from '@/components/mixins/labelMixins'
export default {
  mixins: [labelMixins],
  props: {
    isShow: { type: Boolean, default: true }
  },
  data() {
    return {
      curIsShow: true
    }
  },
  created() {
    this.$utils.setRowQueryFields(this, 'listQuery')
  },
  methods: {
    setIsShow(isShow) {
      this.curIsShow = isShow
      // this.fullComponentKey = 'input' + this.$utils.generateId()
    }
  }
}
</script>
